package map.beans.owf;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({ "send", "receive" })
public class Intents {

	@JsonProperty("send")
	private List<Send> send = new ArrayList<Send>();
	@JsonProperty("receive")
	private List<Object> receive = new ArrayList<Object>();
	private Map<String, Object> additionalProperties = new HashMap<String, Object>();

	@JsonProperty("send")
	public List<Send> getSend() {
		return send;
	}

	@JsonProperty("send")
	public void setSend(List<Send> send) {
		this.send = send;
	}

	public Intents withSend(List<Send> send) {
		this.send = send;
		return this;
	}

	@JsonProperty("receive")
	public List<Object> getReceive() {
		return receive;
	}

	@JsonProperty("receive")
	public void setReceive(List<Object> receive) {
		this.receive = receive;
	}

	public Intents withReceive(List<Object> receive) {
		this.receive = receive;
		return this;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

	@JsonAnyGetter
	public Map<String, Object> getAdditionalProperties() {
		return this.additionalProperties;
	}

	@JsonAnySetter
	public void setAdditionalProperties(String name, Object value) {
		this.additionalProperties.put(name, value);
	}

}